import scrapy


class TakefuSpider(scrapy.Spider):
    name = "takefu"
    # allowed_domains = ["quotes.toscrape.com"]
    start_urls = ["https://escapefromtarkov.fandom.com/zh/wiki/%E5%BD%88%E8%97%A5"]

    def parse(self, response):
        print(
            response.xpath(
                "//div[@id='toc']/ul/li/a/span[@class='toctext']/text()"
            ).getall()
        )
